package com.xinyu.vo;

import lombok.Data;

import java.util.List;

@Data
public class TaskRequest {

    private String keyword;
    private Integer responsibleUserId;// 负责人
    private List<Integer> responsibleUserIds;
    private Integer state;//状态
    private String startTime;//开始时间
    private String endTime;//结束时间
    private Integer publishUserId;//发布人

    private Integer page = 1;//页码
    private Integer rows = 5;//每页条数
    private String sortWay = "DESC";//排序方式
    private String sortColumn;//排序字段
    private Integer offset;
    public Integer getOffset() {
        return (page - 1) * rows;
    }

}
